package com.web.java0328springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.web.java0328springboot.entity.Student;
import org.apache.ibatis.annotations.Param;

/**
 * 学生mapper接口
 */
public interface StudentMapper extends BaseMapper<Student> {

    /**
     * 分页查询学生
     * @param page
     * @return
     */
    IPage<Student> selectStudentPage(IPage<Student> page,@Param("name") String name);
}
